From 73d93934f0ef6469dca063b19052a73cddda3ce1 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 7 Oct 2011 17:57:07 +0200 Subject: [PATCH] Adjust 23931:6a9466e1753d. Committed a stale patch - this was missing from what was actually acked. Signed-off-by: Jan Beulich --- xen/drivers/passthrough/vtd/dmar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/passthrough/vtd/dmar.c b/xen/drivers/passthrough/vtd/dmar.c index 99f584ae94..0b1665bf1a 100644 --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -557,7 +557,7 @@ acpi_parse_one_rmrr(struct acpi_dmar_entry_header *header) if ( !pci_known_segment(rmrr->segment) ) i = UINT_MAX; - for ( i = 0; i < rmrru->scope.devices_cnt; i++ ) + for ( ; i < rmrru->scope.devices_cnt; i++ ) { b = PCI_BUS(rmrru->scope.devices[i]); d = PCI_SLOT(rmrru->scope.devices[i]); -- 2.30.2